home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Demos / ByCompany / ActiveIngredients / communicae / communicae.app / DemoFiles / vt220.cae < prev   
Text File  |  1993-09-21  |  2KB  |  124 lines

  1. # Communicae setup file to emulate various VT220 keys.
  2. #
  3. # Notice that if "Send 8 bits" is not set, Communicae will split the first
  4. # character of each of these strings (\217 or \233) into ESC-O or Esc-[,
  5. # which is what a VT220 normally sends.
  6. #
  7. # F1-F12 and Ins/Del/etc. merely re-use the slots in the visual keypad
  8. # Gaps in the visual keypad are to simulate the layout of a VT220 keyboard.
  9.  
  10. # PC Function keys
  11. f77 = "\217P%|%259f"    # F1 = PF1 (shift: unknown F1 function, on Hold key)
  12. f78 = "\217Q%|%261f"    # F2 = PF2 (shift: little-used F2, on Local Print key)
  13. f79 = "\217R%|%263f"    # F3 = PF3 (shift: unsung F3, on Set-Up key)
  14. f80 = "\217S%|%265f"    # F4 = PF4 (shift: obscure F4, on Switch Session key)
  15. f81 = "%285f"    # F5 = F14! (F5 on VT is Break key, not too useful nowadays)
  16. f82 = "%269f"    # F6 = F6
  17. f83 = "%271f"    # F7 = F7
  18. f84 = "%273f"    # F8 = F8
  19. f85 = "%275f"    # F9 = F9
  20. f86 = "%277f"    # F10 = F10
  21. f87 = "%287f"    # F11 = Help
  22. f88 = "%289f"    # F12 = Do
  23. f89 = "%303f"    # Insert = Insert Here
  24. f90 = "%305f"    # Delete = Remove
  25. f91 = "%313f"    # Page Up = Prev Scr
  26. f92 = "%315f"    # Page Down = Next Scr
  27. f93 = "%301f"    # Home = Find
  28. f94 = "%311f"    # End = Select
  29.  
  30. # (our old stand-bys for PF1-PF4)
  31. f177 = "\217P"    # Cmd+1
  32. f178 = "\217Q"    # Cmd+2
  33. f179 = "\217R"    # Cmd+3
  34. f180 = "\217S"    # Cmd+4
  35.  
  36. # the visual keypad
  37. #L0
  38. L1 = "F1"
  39. K1 = "\23311~"
  40. L2 = "F2"
  41. K2 = "\23312~"
  42. L3 = "F3"
  43. K3 = "\23313~"
  44. L4 = "F4"
  45. K4 = "\23314~"
  46.  
  47. L5 = "F5"
  48. K5 = "\23315~"
  49. L6 = "F6"
  50. K6 = "\23317~"
  51. L7 = "F7"
  52. K7 = "\23318~"
  53. L8 = "F8"
  54. K8 = "\23319~"
  55. L9 = "F9"
  56. K9 = "\23320~"
  57.  
  58. L10 = "F10"
  59. K10 = "\23321~"
  60. L11 = "F11"
  61. K11 = "\23323~"
  62. L12 = "F12"
  63. K12 = "\23324~"
  64. L13 = "F13"
  65. K13 = "\23325~"
  66. L14 = "F14"
  67. K14 = "\23326~"
  68.  
  69. L15 = "Help"
  70. K15 = "\23328~"
  71. L16 = "Do"
  72. K16 = "\23329~"
  73. L17 = "F17"
  74. K17 = "\23331~"
  75. L18 = "F18"
  76. K18 = "\23332~"
  77. L19 = "F19"
  78. K19 = "\23333~"
  79.  
  80. L20 = "F20"
  81. K20 = "\23334~"
  82. #L21
  83. L22 = "Find"
  84. K22 = "\2331~"
  85. L23 = "Insert"
  86. K23 = "\2332~"
  87. L24 = "Remove"
  88. K24 = "\2333~"
  89.  
  90. #L25
  91. #L26
  92. L27 = "Select"
  93. K27 = "\2334~"
  94. L28 = "PrevScr"
  95. K28 = "\2335~"
  96. L29 = "NextScr"
  97. K29 = "\2336~"
  98.  
  99. #L30
  100. #L31
  101. #L32
  102. L33 = "Up"
  103. K33 = "\233A"
  104. #L34
  105.  
  106. #L35
  107. #L36
  108. L37 = "Left"
  109. K37 = "\233D"
  110. L38 = "Down"
  111. K38 = "\233B"
  112. L39 = "Right"
  113. K39 = "\233C"
  114.  
  115. #L40
  116. L41 = "PF1"
  117. K41 = "\217P"
  118. L42 = "PF2"
  119. K42 = "\217Q"
  120. L43 = "PF3"
  121. K43 = "\217R"
  122. L44 = "PF4"
  123. K44 = "\217S"
  124.